Neurosis Engine
Classes | Public Member Functions | Private Member Functions | Private Attributes
CNeurosisPakFile Class Reference

#include <io_pak.h>

List of all members.

Classes

struct  SFileTableEntry
struct  SPakHeader

Public Member Functions

 CNeurosisPakFile ()
 ~CNeurosisPakFile ()
 Constructor/Deconstructor.
bool Clear ()
 Clear current data.
bool Create (char *inputFolder, char *outputFile, bool checkModifiedDate=false)
 Create file - if checkModifiedDate is true, the outputFile is only created if none is found or it's older than the files in the inputFolder.
bool Load (char *filename)
 Load PAK header and file table.
bool Extract ()
 Extract every file from PAK.
bool Extract_File (char *filename)
 Extract only one file from PAK.

Private Member Functions

bool Generate ()
bool WorkOutOffsets ()

Private Attributes

SFileTableEntrypFileTable
CString mFolderPath
CString mPakName
SPakHeader mHeader

Constructor & Destructor Documentation

Constructor/Deconstructor.


Member Function Documentation

Clear current data.

bool CNeurosisPakFile::Create ( char *  inputFolder,
char *  outputFile,
bool  checkModifiedDate = false 
)

Create file - if checkModifiedDate is true, the outputFile is only created if none is found or it's older than the files in the inputFolder.

Extract every file from PAK.

bool CNeurosisPakFile::Extract_File ( char *  filename)

Extract only one file from PAK.

bool CNeurosisPakFile::Generate ( ) [private]
bool CNeurosisPakFile::Load ( char *  filename)

Load PAK header and file table.


Member Data Documentation

CString CNeurosisPakFile::mFolderPath [private]
CString CNeurosisPakFile::mPakName [private]

The documentation for this class was generated from the following file: